<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title><!--{$cfg.webtitle}--></title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- Le styles -->
<link href="<!--{$cfg.website}-->/css/bootstrap.css" rel="stylesheet">
<link href="<!--{$cfg.website}-->/css/bootstrap-responsive.css" rel="stylesheet">
<link href="<!--{$cfg.website}-->/css/datepicker.css" rel="stylesheet">
<link href="<!--{$cfg.website}-->/css/common.css" rel="stylesheet">
<style type="text/css">
.sidebar-nav {padding: 9px 0;}
</style>
<!-- Le HTML5 shim, for IE6-8 support of HTML5 elements -->
<!--[if lt IE 9]>
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
</head>

<body>

<!--头部-->
<div class="navbar navbar-inverse navbar-fixed-top">
  <div class="navbar-inner">
	<div class="container-fluid">
	  <a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
		<span class="icon-bar"></span>
		<span class="icon-bar"></span>
		<span class="icon-bar"></span>
	  </a>
	
	  <div class="nav-collapse collapse">
		<p class="navbar-text pull-right">
		  <a href="" ><i class="icon-user icon-white" ></i> <!--{$smarty.session.username}--></a>
		</p>
		<ul class="nav">
		 <li <!--{if strtolower($smarty.get.action) == 'adress'}-->class="active"<!--{/if}-->><a href="?action=address"><i class="icon-book icon-white"></i> 好友管理</a></li>
			
			
			{if $smarty.session.roleid == "2" }	
		
			<li <!--{if strtolower($smarty.get.action) == 'adress'}-->class="active"<!--{/if}-->><a href="?action=user"><i class="icon-user icon-white"></i> 用户管理</a></li>
			
	        {else}
		     
		    {/if}	
			
			
			<li <!--{if strtolower($smarty.get.action) == 'adress'}-->class="active"<!--{/if}-->><a href="?action=user&do=editpass"><i class="icon-wrench icon-white"></i> 密码修改</a></li>
		  
		  <li><a href="?action=user&do=logout"><i class="icon-off icon-white"></i> 退出</a></li>
		  
		  
		</ul>
	  </div><!--/.nav-collapse -->
	</div>
  </div>
</div>


<!--中部-->
<div class="container-fluid">
  <div class="row-fluid">
  <div class="span12 hidden-phone" style="padding-top:40px;"></div>